Skip to main content

File Upload

In general for file uploads, it is expected that the upload action has input type set to file. If there is a web component with file upload input component present, DevAssure's intelligent recorder will be able to record the file upload actions as well.

Record the File upload action

Here is a screenshot on how DevAssure's intelligent recorder is able to capture the file upload actions.

Record the File upload action

DevAssure sample automation code for File Upload

Once the recording is completed, the actions can be saved and the test case can be executed. Here is a screenshot of the complete code from DevAssure's no code automation platform.

Sample code for File Upload

Besides this, there are other file operations that can be performed using DevAssure -

  1. File read and write
  2. Handling file downloads and the downloaded files
  3. Extracting file paths
  4. Identifying file locations

Learn more about file actions.